package com.bgy.geek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 岗位类型表(TbPostType)表实体类
 *
 * @author makejava
 * @since 2021-10-22 11:23:22
 */
@SuppressWarnings("serial")
public class TbPostType extends Model<TbPostType> {
	//自增主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	//岗位类型
	private String type;
	//租户id
	private Integer rentId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getRentId() {
		return rentId;
	}

	public void setRentId(Integer rentId) {
		this.rentId = rentId;
	}

	/**
	 * 获取主键值
	 *
	 * @return 主键值
	 */
	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
